home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / etc / proftpd.conf < prev    next >
Encoding:
Text File  |  2004-03-26  |  1.9 KB  |  76 lines

  1. # This is a basic ProFTPD configuration file (rename it to 
  2. # 'proftpd.conf' for actual use.  It establishes a single server
  3. # and a single anonymous login.  It assumes that you have a user/group
  4. # "nobody" and "ftp" for normal operation and anon.
  5.  
  6. ServerName            "Debian"
  7. ServerType            standalone
  8. DeferWelcome            off
  9.  
  10. ShowSymlinks            on
  11. MultilineRFC2228        on
  12. DefaultServer            on
  13. ShowSymlinks            on
  14. AllowOverwrite            on
  15.  
  16. TimeoutNoTransfer        600
  17. TimeoutStalled            600
  18. TimeoutIdle            1200
  19.  
  20. DisplayLogin                    welcome.msg
  21. DisplayFirstChdir               .message
  22. LsDefaultOptions                "-l"
  23.  
  24. DenyFilter            \*.*/
  25.  
  26. # Uncomment this if you are using NIS or LDAP to retrieve passwords:
  27. #PersistentPasswd        off
  28.  
  29. # Port 21 is the standard FTP port.
  30. Port                21
  31.  
  32. # To prevent DoS attacks, set the maximum number of child processes
  33. # to 30.  If you need to allow more than 30 concurrent connections
  34. # at once, simply increase this value.  Note that this ONLY works
  35. # in standalone mode, in inetd mode you should use an inetd server
  36. # that allows you to limit maximum number of processes per service
  37. # (such as xinetd)
  38. MaxInstances            30
  39.  
  40. # Set the user and group that the server normally runs at.
  41. User                nobody
  42. Group                nogroup
  43.  
  44. # Normally, we want files to be overwriteable.
  45. <Directory /*>
  46.   # Umask 022 is a good standard umask to prevent new files and dirs
  47.   # (second parm) from being group and world writable.
  48.   Umask                022  022
  49.  
  50.   AllowOverwrite        on
  51. </Directory>
  52.  
  53. # A basic anonymous configuration, no upload directories.
  54.  
  55. <Anonymous ~ftp>
  56. User                nobody
  57. Group                nogroup
  58. UserAlias            anonymous nobody
  59. RequireValidShell        off
  60. MaxClients            1
  61. <Directory *>
  62.      <Limit WRITE>
  63.       DenyAll
  64.     </Limit>
  65.    </Directory>
  66. <Directory /mnt/partitions>
  67. Umask                022  022
  68.        <Limit READ WRITE>
  69.        DenyAll
  70.            </Limit>
  71.            <Limit STOR>
  72.           AllowAll
  73.             </Limit>
  74.  </Directory>
  75. </Anonymous>
  76.